package com.ldw.demo.service;

import com.ldw.demo.dao.BillMapper;
import com.ldw.demo.pojo.Bill;

import java.util.List;

public class BillServiceImpl implements BillService {
    private BillMapper billMapper;

    public void setBillMapper(BillMapper billMapper) {
        this.billMapper = billMapper;
    }

    @Override
    public List<Bill> queryBill() {
        List<Bill> billList = billMapper.queryBill();
        return billList;
    }
}
